package cn.qinhao.pethome.system.domain;

import cn.qinhao.pethome.basic.base.domain.BaseDomain;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author qinhao
 * @since 2023-03-04
 */

@Data
public class Role extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private String name;
    private String sn;
    //接收前端传的值
   private List<Long> menus;
   private List<Long> permissions;//这个集合即满足接收，也满足返回
    private List<Menu> ownMenus;//因为前端是以对象接收返回数据，所以得从新写一个对象得集合
}
